package com.bdzl.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//@SpringBootApplication//Boot启动注解
@EnableDiscoveryClient //注册发现和配置中心注解
//@MapperScan(basePackages = "com.bdzl.dao") // 扫描mapper
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class ApplicationApi {

    public static void main(String[] args) {
        SpringApplication.run(ApplicationApi.class, args);
        System.out.println("启动好了 (>^ω^<)喵~\n");
    }

}
